package org.demo.patten.adapter;

/**
 * @author zhuj
 * @date 2025/3/21
 * @apiNote
 */
public class Adapter implements Target{
    private Adaptee adaptee;
    public Adapter(Adaptee adaptee) {
        this.adaptee = adaptee;
    }
    @Override
    public void request() {
        // 转调 Adaptee 的方法
        adaptee.specificRequest();
    }
}
